#pragma once
#include "..\DXG\DXViewEntity.h"
#include "..\DXG\DXMesh.h"

class Tree : public DXViewEntity
{
private:
	static DXMesh s_mesh;
public:
	static HRESULT CreateMesh(LPDIRECT3DDEVICE9 pd3ddev9);

public:
	Tree(void);
	virtual ~Tree(void);

	virtual HRESULT Draw(LPDIRECT3DDEVICE9 pd3ddev9)
	{
		pd3ddev9->SetTransform(D3DTS_WORLD, &m_world);

		return s_mesh.Draw(pd3ddev9);
	}
};
